//
//  YCMainModelAdapter.m
//  YCAdapterMode
//
//  Created by 安跃超 on 2018/12/14.
//  Copyright © 2018年 安跃超. All rights reserved.
//

#import "YCMainModelAdapter.h"
#import "YCMainModel.h"

@implementation YCMainModelAdapter

#pragma mark- =====================YCMainModelAdapterProtocol=====================

- (NSDictionary *)attributeNomal {
    YCMainModel *model = self.data;
    return model.attNomal;
}

- (NSDictionary *)attributeSelect {
    YCMainModel *model = self.data;
    return model.attSelect;
}

- (Class)destVC {
    YCMainModel *model = self.data;
    return model.destVC;
}

- (NSString *)iconNameString {
    YCMainModel *model = self.data;
    return model.iconNomal;
}

- (NSString *)iconSelectNameString {
    YCMainModel *model = self.data;
    return model.iconSelect;
}

- (YCNoArgsBlock)optionBlock {
    YCMainModel *model = self.data;
        return model.optionBlock;
}

- (NSString *)titleString {
    YCMainModel *model = self.data;
    return model.title;
}

@end
